<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>		
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=8" />
		<title>Microfinance</title>
		<!-- style sheet for bluepring -->
		<spring:url value="/resources/styles/blueprint/screen.css" var="blueprint_screen_css"></spring:url>
		<spring:url value="/resources/styles/blueprint/print.css" var="blueprint_print_css"></spring:url>
		<spring:url value="/resources/styles/blueprint/plugins/buttons/screen.css" var="blueprint_plugin_buttons"></spring:url>
		<spring:url value="/resources/styles/blueprint/src/forms.css" var="blueprint_src_forms"></spring:url>
		<spring:url value="/resources/styles/blueprint/plugins/link-icons/screen.css" var="blueprint_plugins_link_icons"></spring:url>
		<spring:url value="/resources/styles/dropdown/ddsmoothmenu.css" var="dropdown_css"></spring:url>
		
		<link rel="stylesheet" type="text/css" media="screen,projection" href="${blueprint_screen_css}"/>
		<link rel="stylesheet" type="text/css" media="print" href="${blueprint_screen_css}"/>
		<link rel="stylesheet" type="text/css" media="screen" href="${blueprint_plugin_buttons}"/>
		<link rel="stylesheet" type="text/css" media="screen" href="${blueprint_src_forms}"/>
		<link rel="stylesheet" type="text/css" media="screen" href="${blueprint_plugins_link_icons}"/>
		<link rel="stylesheet" type="text/css" media="screen" href="${dropdown_css}"/>
		
		
		<!-- These javascript file will be loaded from from jar file of webflow -->
		<script type="text/javascript">
		var contextPath = "${pageContext.request.contextPath}";
		</script>
		<spring:url value="/resources/dojo/dojo.js" var="dojo_url" />
  		<spring:url value="/resources/spring/Spring.js" var="spring_url" />
  		<spring:url value="/resources/spring/Spring-Dojo.js" var="spring_dojo_url" />
		<script src="${dojo_url}" type="text/javascript"></script>
		<script src="${spring_url}" type="text/javascript"></script>
		<script src="${spring_dojo_url}" type="text/javascript"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/resources/scripts/jquery/jquery-1.5.min.js"></script>
		<spring:url value="/resources/scripts/dropdown/ddsmoothmenu.js" var="ddsmoothmenu_url" />
		<script src="${ddsmoothmenu_url}" type="text/javascript"></script>
		
		<spring:url value="/resources/images/favicon.ico" var="favicon" />
		<link rel="SHORTCUT ICON" href="${favicon}" />
		
		<script type="text/javascript">
			ddsmoothmenu.init({
				mainmenuid: "smoothmenu1", //menu DIV id
				orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
				classname: 'ddsmoothmenu', //class added to menu's outer DIV
				//customtheme: ["#1c5a80", "#18374a"],
				contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
			})
		</script>
		
	</head>
	
  	<body style="background-color: gray;">
  		<div class = "container" style="background-color: whitesmoke; min-height: 700px;">
        	<div class = "span-24">
            	<div class = "span-24" style="min-height: 50px; background-color: #464646" align="center">
					<tiles:insertAttribute name="header" ignore="true" />
                </div>
                <div class = "span-24 last">
					<tiles:insertAttribute name="menu" ignore="true"/>
                </div>
                <div class="span-24 last" style="min-height: 600px;">
                	<tiles:insertAttribute name="body"/>
                </div>
                <div class="span-24">
                	<tiles:insertAttribute name="footer" ignore="true"/>
                </div>
            </div>
        </div>
	</body>
</html>

